const state = {
  open: true, //  首页导航是否展开
}
const mutations = {
  SET_OPEN(state, open) {
    typeof open === 'undefined'
      ? (state.open = !state.open)
      : (state.open = open)
  },
}
export default {
  namespaced: true,
  state,
  mutations,
}
